<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <form action="test.php" method="get">
        用户名 <input type="text" name="name" maxlength="7">
        <br> 密码 <input type="password" name="password">
        <br> 性别: <label for="man"> 男</label><input type="radio" id="man" name="sex" value="男" checked="checked"> 女<input type="radio" name="sex" value="女">人妖<input type="radio" name="sex">
        <br> 爱好：吃饭<input type="checkbox"> 吃饭<input type="checkbox"> 吃饭<input type="checkbox">
        <br> <input type="submit" value="发送">
        <br> <input type="reset" value="重置为初始值">
        <br> <input type="file" value="上传文件">
    </form>
</body>

</html>